$(document).ready(function () {
	
	$("#navigation ul li.code1 .Links").parents("li").removeClass("closed").find("ul").removeClass("closed").show("blind", {percent: 100}, "normal");
	
});

function multiple_action(ctrl_name) {
	var ids = "";
	$("#example tbody tr td input[type=checkbox]").each(function (item, data) {
		if ($(this).is(':checked')) {
			ids += $(this).parents("tr").find(".owner-id").val() + ",";
		}
	});
	showAjaxEffect();
	$.get(server + "/admin/update-owner-domain-change", {ids: ids, action: ctrl_name}, function(data) {
		hideAjaxEffect();
		//location.reload();
	});
}